package models;

import play.*;
import play.db.jpa.*;

import javax.persistence.*;
import java.util.*;
import play.data.validation.*;
import play.libs.*;


@Entity
public class Point extends Model {
	
//Hidden
	@ManyToOne
	public Developer application;
	//@Hidden
	public String uniqueId;
	
	public String title;
	
	public String description;
	
	public PointTypes type;
	
	public int defaultValue;
	
	//@PrePersist
	//protected void onCreate(){
		//this.applicationId = params.get("BADGENATION_SESSION");
		
	//}

	@Override
  public String toString() {
    return this.title;
  }

  
  
	
}


